package com.doeis.minaserver.session;

import com.doeis.minaserver.listener.ConnectionCloseListener;
import com.doeis.minaserver.packet.Packet;

public interface NioConnection {
	
	 public void close();
	 
	 public boolean isClosed();
	 
	 public void deliver(Packet packet);
	 
	 public void registerCloseListener(ConnectionCloseListener listener);

	 public void removeCloseListener(ConnectionCloseListener listener);
	 
}
